pid=`ps -ef | grep fallencity | grep -v grep | awk '{print $2}'`
if [ -n "$pid" ]
then
   echo "kill -9 的pid:" $pid
   kill -9 $pid
fi

mvn clean install
cd target
nohup java -jar fallencity-0.0.1-SNAPSHOT.war &
echo "deploy.sh excute sucess!!"